<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/27
  Time: 16:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
<link href="css/bootstrap.min.css">
  </head>
  <body>
  <table class="table">
    <caption>基本的表格布局</caption>
    <thead>
    <tr>
      <th>名称</th>
      <th>城市</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${list}" var="user">
    <tr>
      <td>${user.id}</td>
      <td>${user.name}</td>
    </tr>
    </c:forEach>
    </tbody>
  </table>
  </body>
</html>
